package org.zfes.snowier.zbss.xzy.biz.solution.model;
import java.util.Date;

import org.zfes.snowier.core.data.IBaseModel;
public class SolutionDeviceConfigValue extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public SolutionDeviceConfigValue() {}
	public SolutionDeviceConfigValue(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	  private java.lang.Long solutionId;
	  private java.lang.Long algorithmId;
	  private java.lang.Long itemId;
	  private java.lang.Long deviceId;
	  private Date updateTime;
	  private Date createTime;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
	@org.hibernate.validator.constraints.Length(min=0,max=65535,message="配置值长度不能大于65,535")
	  private java.lang.String cofvalue;
 
	
	public SolutionDeviceConfigValue( Long deviceId, Long solutionId, Long algorithmId, Long itemId,String cofvalue) {
		super();
		this.solutionId = solutionId;
		this.algorithmId = algorithmId;
		this.itemId = itemId;
		this.deviceId = deviceId;
		this.cofvalue = cofvalue;
	}
	//<-------------------------------------------->
	public SolutionDeviceConfigValue setAlgorithmId(java.lang.Long algorithmId){
	 this.algorithmId=algorithmId;
	 return this;
	}
	public java.lang.Long getAlgorithmId(){
		return this.algorithmId;
	}
	public SolutionDeviceConfigValue setItemId(java.lang.Long itemId){
	 this.itemId=itemId;
	 return this;
	}
	public java.lang.Long getItemId(){
		return this.itemId;
	}
	public SolutionDeviceConfigValue setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public SolutionDeviceConfigValue setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public SolutionDeviceConfigValue setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public SolutionDeviceConfigValue setCofvalue(java.lang.String cofvalue){
		this.cofvalue=cofvalue==null?null:cofvalue.trim();
	 return this;
	}
	public java.lang.String getCofvalue(){
		return this.cofvalue;
	}
	public java.lang.Long getSolutionId() {
		return solutionId;
	}
	public void setSolutionId(java.lang.Long solutionId) {
		this.solutionId = solutionId;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public SolutionDeviceConfigValue setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		 return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public SolutionDeviceConfigValue setCreateTime(Date createTime) {
		this.createTime = createTime;
		 return this;
	}
	@Override
	public String toString() {
		return "SolutionConfigItemValue [solutionId=" + solutionId + ", algorithmId=" + algorithmId + ", itemId="
				+ itemId + ", deviceId=" + deviceId + ", updateTime=" + updateTime + ", createTime=" + createTime
				+ ", remark=" + remark + ", cofvalue=" + cofvalue + "]";
	}
	

}
